package cn.funnyxb.tools.appFrame.database;

import android.database.Cursor;

public abstract class ViewHolder
{
  protected DBHolder dbHolder;
  protected String sql;
  protected String viewName;

  public ViewHolder(DBHolder paramDBHolder, String paramString1, String paramString2)
  {
    this.dbHolder = paramDBHolder;
    this.viewName = paramString1;
    this.sql = paramString2;
  }

  public Cursor getAll()
  {
    if (this.dbHolder == null);
    for (Cursor localCursor = null; ; localCursor = this.dbHolder.dbService.query(this.sql, null))
      return localCursor;
  }

  public DBHolder getDbHolder()
  {
    return this.dbHolder;
  }
}

/* Location:           E:\Desktop\复件 classes_dex2jar.jar
 * Qualified Name:     cn.funnyxb.tools.appFrame.database.ViewHolder
 * JD-Core Version:    0.5.3
 */